package com.gimi.cloud.jimi.dao.dao.moreInfo;

import com.gimi.cloud.jimi.dao.myMapper.MyMapper;
import com.gimi.cloud.jimi.entity.app.moreInfo.FengchaoGongjijinRegionEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @auther loongs
 * @date 2018/1/10  13:48
 */
@Mapper
public interface FengchaoGongjijinRegionDao extends MyMapper<FengchaoGongjijinRegionEntity> {

    @Select("select * from jimi_third_gongjijin_region where region_city_id=#{regionId} LIMIT 1")
    FengchaoGongjijinRegionEntity selectFcgjjrByCityId(@Param(value = "regionId") String regionId);
}
